package com.beanutils;

import java.io.Serializable;
import java.util.Date;

public class Person implements Serializable {
    private int id;
    private String name;
    private Date date;
    private Address address;

    public Person() {

    }

    public Person(int id, String name, Date date, Address address) {
        this.id = id;
        this.name = name;
        this.date = date;
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
